// 先用Ajax获取评论列表数据
$(() => {
    function commentList(page = 1) {
        $.ajax({
            url: bigNews.comment_search,
            data: { perpage: 10, page },
            success: function (response) {
                // console.log(response);
                // $('html').html(response)
                const result = template('commentTemplate', response.data)
                $('#tbody').html(result)
            }
        });
    }
    commentList()

})